package org.piggy.test.dubbo.service.impl;

import org.apache.dubbo.config.annotation.DubboService;
import org.piggy.client.core.ApiInvoker;
import org.piggy.client.core.ApiProtocol;
import org.piggy.client.core.ApiService;
import org.piggy.test.dubbo.function.DubboSecondInterface;

@DubboService(version = "1.0.0")
@ApiService(serviceId = "gateway-test-dubbo-002", protocol = ApiProtocol.DUBBO)
public class DubboSecondInterfaceImpl implements DubboSecondInterface {
    @Override
    @ApiInvoker(path = "/dubbo-second/second")
    public String fun() {
        return "hello fun";
    }
}
